<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title> Student Termination - MT-00<?php echo isset($pono) ? $pono : ''; ?></title>
<style media="all">

	#logo { margin:0 0 0 75px;}
	#logotext{ font-size:12px; text-align:center; margin:0; }
	p { margin:0; padding:0; font-size:11px;}
	#pono{ font-size:18px; padding:0; margin:0 5px 10px 0; text-align:left;}
	
	table.product
	{ border-collapse:collapse; width:100%; }
	
	table.product,table.product th
	{	border: 1px solid black; font-size:13px; font-weight:bold; padding:4px 0 4px 0; }
	
	table.product,table.product td
	{	border: 1px solid black; font-size:12px; font-weight:normal; padding:3px 0 3px 0; text-align:center; }
	
	table.product td.left { text-align:left; padding:3px 5px 3px 10px; }
	table.product td.right { text-align:right; padding:3px 10px 3px 5px; }
	
</style>
</head>

<body onLoad="window.print();">

<div style="width:750px; font-family:Arial, Helvetica, sans-serif; font-size:12px;"> 
	
	<h2 style="font-size:18px; font-weight:normal; text-align:center; text-decoration:underline;"> STUDENT TERMINATION </h2> 
    <div style="clear:both; "></div> 
	
	<div style="width:350px; border:0px solid #000; float:left;">
		<table style="font-size:11px;">
 		    <tr> <td> Transcode </td> <td>:</td> <td> MT-00<?php echo $pono; ?> </td> </tr>
			<tr> <td> Currency </td> <td>:</td> <td> <?php echo $currency; ?> </td> </tr>
            <tr> <td> Status </td> <td>:</td> <td> <?php echo $stts; ?> </td> </tr>
            <tr> <td> Mutation Type </td> <td>:</td> <td> <?php echo $type; ?> </td> </tr>
		</table>
	</div>
	
	<div style="width:200px; border:0px solid red; float:right;">
		<table style="font-size:11px;">
			<tr> <td> Date </td> <td>:</td> <td> <?php echo $podate; ?> </td> </tr>
			<tr> <td> Notes </td> <td>:</td> <td> <?php echo $notes; ?> </td> </tr>
            <tr> <td> Teacher </td> <td>:</td> <td> <?php echo $teacher; ?> </td> </tr>
		</table>
	</div>
	
	<div style="clear:both; "></div>
	
	<div style="margin:10px 0 0 0; border-bottom:0px dotted #000;">
		
		<table class="product">

		<tr> <th> No </th>  <th> Period </th> <th> Student / ID </th> <th> Dept / Grade </th> <th> Receivable (Month) </th> 
             <th> Tuition </th> <th> Amount </th> 
        </tr>
        
        <tr> 
        <td> 1 </td> 
        <td class="left"> <?php echo $year; ?> </td> 
        <td class="left"> <?php echo $studentname; ?> / <?php echo $sid; ?> </td> 
        <td class="center"> <?php echo $dept; ?> / <?php echo $grade; ?> </td> 
        <td class="center"> <?php echo $period; ?> </td> 
        <td class="center"> <?php echo $fee; ?> </td> 
        <td class="right"> <?php echo number_format($amount); ?> </td> </tr> 
		 
		<tr> <td></td> <td colspan="4"></td> <td class="right"> <b> Total : </b> </td> 
             <td class="right"> <b> <?php echo number_format($amount); ?> </b> </td> 
        </tr>
			
		</table>
		
		<div style="float:left; width:600px; border:0px solid #000; margin:5px 0 5px 0;">  
			<table style="font-size:11px;">
				<tr> <td> Log </td> <td>:</td>  <td> <b> <?php echo $log; ?> </b> </td> 
				</tr>
			</table>
		</div>
		
		<div style="clear:both; "></div>
		
		<div style="width:620px; border:0px solid #000; float:right; margin:3px 0px 0 0;">
		<style>
			.sig{ font-size:11px; width:100%; float:right; text-align:center;}
			.sig td{ width:155px;}
		</style>
			<table border="0" class="sig">
				<tr> <td> Received By : </td> <td> Approved By : </td> <td> Known By : </td> <td> Paid By : </td> </tr>
			</table> <br> <br> <br> <br> <br> 
			
			<table border="0" class="sig">
				<tr> <td> AR <br> (<?php echo $user; ?>) </td> 
                     <td> Finance Manager <br> (<?php echo $manager; ?>) </td> 
                     <td> ___________________ <br> Accounting </td> 
                     <td> ___________________ </td> 
                </tr>
			</table>
		</div>
		
</div>

</body>
</html>
